package com.caping.cgi.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.caping.campaign.inter.HelloService;
import org.springframework.stereotype.Service;

/**
 * @program: campaign
 * @description: ${description}
 * @author: jiemin
 * @create: 2018-12-10 11:41
 **/
@Service
public class DubboService {

    @Reference(version = "1.0.0")
    HelloService helloService;


    public Object sayHello(String name){
        return helloService.sayHello(name);
    }


}
